package com.onlyxiahui.framework.net.handler.data.handler;

/**
 * <br>
 * Date 2020-05-12 08:57:05<br>
 * 
 * @author XiaHui [onlovexiahui@qq.com]<br>
 * @since 1.0.0
 */
public interface MessageHandler {

	/**
	 * 
	 * Description <br>
	 * Date 2020-05-13 09:38:33<br>
	 * 
	 * @param data
	 * @since 1.0.0
	 */
	public void receive(Object data);

	/**
	 * 
	 * Description <br>
	 * Date 2020-05-13 09:38:37<br>
	 * 
	 * @param key
	 * @since 1.0.0
	 */
	public void exceptionData(String key);
}
